package com.ls.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;
import java.io.Serializable;

/**
 * 职位表(Position)实体类
 *
 * @author makejava
 * @since 2021-03-31 16:55:56
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "com.ls.pojo.Position",description = "职位表")
public class Position implements Serializable {
    private static final long serialVersionUID = -98762273399983232L;
    /**
     * 职位表id
     */
    private Integer positionId;
    /**
     * 职位名
     */
    private String positionName;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 部门编号
     */
    private Integer depId;
    /**
     * 状态 1:有效 0:无效
     */
    private Integer status;

    private Department department;

    private Employee employee;
}
